package uoc.tdp.pac4.exception;

import java.util.ResourceBundle;

/**
 * Classe que gestiona les excepcions del control i assignacions  
 * @author Bitech
 *
 */
public class AssignmentsException extends Exception {
    
    private static final ResourceBundle BUNDLE = 
	    ResourceBundle.getBundle("i18n.messages"); 
    
    public static final String MALL_NOT_FOUND = BUNDLE.getString("MALL_NOT_FOUND");
    public static final String CANNOT_POPULATE_EMPLOYEE_TABLE = BUNDLE.getString("CANNOT_POPULATE_EMPLOYEE_TABLE");
    public static final String CANNOT_UPDATE_MALL_WORK_LOAD = BUNDLE.getString("CANNOT_UPDATE_MALL_WORK_LOAD");
    public static final String CANNOT_UPDATE_EMPLOYEE_WORK_LOAD = BUNDLE.getString("CANNOT_UPDATE_EMPLOYEE_WORK_LOAD");
    public static final String CANNOT_POPULATE_ASSIGNMENTS_POOL_TABLE = BUNDLE.getString("CANNOT_POPULATE_ASSIGNMENTS_POOL_TABLE");
    public static final String CANNOT_POPULATE_REQUEST_POOL_TABLE = BUNDLE.getString("CANNOT_POPULATE_REQUEST_POOL_TABLE");
    public static final String CANNOT_POPULATE_TABLE = BUNDLE.getString("CANNOT_POPULATE_TABLE");

    /**
     * @param message
     */
    public AssignmentsException(String message) {
	super(message);
	
    }
    
    
	
    
}